﻿/* 自定义折叠面板的样式-----主要是流程定义页面用到 */
.myCollapse {
  border-color: $theme_border_color;
  .el-collapse-item__wrap {
    background-color: transparent;
    border-color: $theme_border_color;
  }
  // 头部的样式
  .el-collapse-item__header {
    background-color: transparent;
    height: 34px;
    line-height: 32px;
    font-size: 14px;
    padding-left: 4px;
    border-color: $theme_border_color;
    color: #fff;
    cursor: default;
    i {
      cursor: pointer;
    }
    i.iconfont {
      font-size: 20px;
      margin-left: 6px;
      font-weight: 600;
      display: none;
      &:hover {
        color: #fff;
      }
    }
  }
  .el-collapse-item__header.is-active {
    i.iconfont {
      display: inline;
    }
  }
  // 内容区域
  .el-collapse-item__content {
    padding-bottom: 6px;
    min-height: 100px;
    background-color: transparent;
    color: #fff;
    &::-webkit-scrollbar{
      width: 6px;
      height: 8px;
      cursor: pointer;
    }
    &::-webkit-scrollbar-track{
      background: rgba(21,130,178,.5);
      border-radius: 2px;
    }
    &::-webkit-scrollbar-thumb{
      background: rgba(21,130,178,1);
      border-radius: 6px;
    }
    &::-webkit-scrollbar-thumb:hover {
      background: $theme_main_hover_color;
    }
  }
}
#item_pannel {
  .myCollapse {
    .el-collapse-item__content {
      max-height: 400px;
      overflow-y: auto;
      background-color: transparent;
    }
  }
}

// 下拉菜单
.tableDropdown {
  color: #fff;
  cursor: pointer;
  margin-left: 10px;
}
.tableDropdown:hover {
  color: #fff;
}
.dropdownMenu {
  background:rgba(42,43,106,1);
  border: 1px solid $theme_form_border_color;
  border-radius: 5px;
  .el-dropdown-menu__item {
    color: #fff;
    i {
      font-size: 18px;
      margin-right: 3px;
      vertical-align: -1px;
    }
  }
  .el-dropdown-menu__item:hover {
    color: $theme_main_hover_color;
    background-color: transparent;
  }
  .popper__arrow::after {
    border-bottom-color: rgba(42,43,106,1) !important;
  }
}
// 栅格布局的样式文件
.el-row {
  .el_col_buttonGroup {
    &>div {
      float: left;
      margin-left: 10px;
    }
    &>div:first-child {
      margin-left: 0;
    }
  }
}
.widget-grid {
  .el_col_buttonGroup {
    &>div {
      float: inherit;
      margin-left: 0;
    }
    .widget-form-list {
      &>div {
        float: left;
        margin-left: 10px;
      }
      &>div:first-child {
        margin-left: 0;
      }
    }
  }
}